package com.yfs.cloud.entity;

import javax.persistence.*;

import io.swagger.annotations.ApiModelProperty;

/**
* @Company: 影法師工作室
* @Description: 角色和模块的对应关系实体 
* @author 影法師  
* @date 2020年8月25日 下午2:46:42 
* @version V1.0
 */
@Table(name = "role_modules")
public class RoleModule extends BaseEntity {

	@Column(name = "role_id")
	@ApiModelProperty(value = "角色id")
	private Long roleId;

	@Column(name = "module_id")
	@ApiModelProperty(value = "模块id")
	private Long moduleId;

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getModuleId() {
		return moduleId;
	}

	public void setModuleId(Long moduleId) {
		this.moduleId = moduleId;
	}

}